import React from "react";

export default function Rfc(props) {
  return (
    <div>
      <button onClick={() => props.getChildData(1)}>给父组件传递数据</button>
    </div>
  );
}
